package cn.tedu.blackhorse.service;

import cn.tedu.blackhorse.pojo.dto.KnewProblemAddNewDTO;
import cn.tedu.blackhorse.pojo.vo.KnewProblemListItemVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IKnewProblemService {
    void insert(KnewProblemAddNewDTO knewProblemAddNewDTO);

    List<KnewProblemListItemVO> list();
}
